package org.lanqiao.entity;


import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.sql.Timestamp;

@Setter
@Getter
@ToString
public class Activity {
    //活动id
    private String activityId;
    //活动名称
    private String activityName;
    //活动开始时间
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    private Timestamp activityStarttime;
    //活动结束时间
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    private Timestamp activityEndtime;
    //活动类型id
    private Integer activityType;
    //活动状态id
    private Integer activityStatus;
    //活动收入金额
    private Double activityIncome;
    //活动发布地点id
    private String activitySite;
    //活动发布者id
    private String userId;
    //活动中消息条数
    private String msgNum;
    //活动列表所需的user表数据
    private User user;



}